<!DOCTYPE HTML>

<html lang="pt-br"  
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	
<ui:composition template="/WEB-INF/template/PrincipalTemplate.xhtml">
<ui:define name="corpo">
	<div class="container">
			<div class="jumbotron">
	        	<h1>Módulos</h1>
	      	</div>
		<div class="row">
				<p:commandLink disabled="#{!principalManagerBean.vd1}"
							action="#{principalManagerBean.requisicaoPrincipal(1)}">
				<div class="col-xs-3">
					<div class="offer offer-info">
						<div class="shape">
							<div class="shape-text">
								OK							
							</div>
						
						</div>
						<div class="offer-content">
							<h3 class="lead">
								Vendas
							</h3>
							<p>Carregar Módulo</p>
						</div>
					</div>
				</div>
				</p:commandLink>
				
				<p:commandLink disabled="#{!principalManagerBean.cp1}"
							action="#{principalManagerBean.requisicaoPrincipal(2)}">
				<div class="col-xs-3">
					<div class="offer offer-success">
						<div class="shape">
							<div class="shape-text">
								OK							
							</div>
						</div>
						<div class="offer-content">
							<h3 class="lead">
								Compras
							</h3>
							<p>Carregar Módulo</p>
						</div>
					</div>
				</div>
				</p:commandLink>
				
				<p:commandLink disabled="#{!principalManagerBean.tr1}"
							action="#{principalManagerBean.requisicaoPrincipal(3)}">
				<div class="col-xs-3">
					<div class="offer offer-default">
						<div class="shape">
							<div class="shape-text">
								OK							
							</div>
						</div>
						<div class="offer-content">
							<h3 class="lead">
								Clientes
							</h3>
							<p>Carregar Módulo</p>
						</div>
					</div>
				</div>
				</p:commandLink>
				
				<p:commandLink disabled="#{!principalManagerBean.cn1}"
							action="#{principalManagerBean.requisicaoPrincipal(4)}">
				<div class="col-xs-3">
					<div class="offer offer-warning">
						<div class="shape">
							<div class="shape-text">
								OK								
							</div>
						</div>
						<div class="offer-content">
							<h3 class="lead">
								Conhecimento
							</h3>
							<p>Carregar Módulo</p>
						</div>
					</div>
				</div>
				</p:commandLink>
				
				<p:commandLink disabled="#{!principalManagerBean.sg1}"
							action="#{principalManagerBean.requisicaoPrincipal(5)}">
				<div class="col-xs-3">
					<div class="offer offer-danger">
						<div class="shape">
							<div class="shape-text">
								OK								
							</div>
						</div>
						<div class="offer-content">
							<h3 class="lead">
								Sistema
							</h3>
							<p>Carregar Módulo</p>
						</div>
					</div>
				</div>
				</p:commandLink>
		</div>
	</div>  
</ui:define>
</ui:composition>
</html>